FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER zhangrongbin@supermap.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /rootstock-upms

WORKDIR /rootstock-upms

EXPOSE 4000

ADD ./rootstock-upms/rootstock-upms-biz/target/rootstock-upms-biz.jar ./

CMD java -Djava.security.egd=file:/dev/./urandom -jar rootstock-upms-biz.jar
